﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.IntegrationManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.IntegrationManagement.IntgrSyncRemoteVMs
{
    public partial class IntgrSyncRemoteTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._IntgrSyncRemote._Sn")]
        public ExcelPropety Sn_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.Sn);
        [Display(Name = "_Model._IntgrSyncRemote._TransSnId")]
        public ExcelPropety TransSnId_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.TransSnId);
        [Display(Name = "_Model._IntgrSyncRemote._ArchiveId")]
        public ExcelPropety ArchiveId_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.ArchiveId);
        [Display(Name = "_Model._IntgrSyncRemote._LineId")]
        public ExcelPropety LineId_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.LineId);
        [Display(Name = "_Model._IntgrSyncRemote._LineCode")]
        public ExcelPropety LineCode_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.LineCode);
        [Display(Name = "_Model._IntgrSyncRemote._OpId")]
        public ExcelPropety OpId_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.OpId);
        [Display(Name = "_Model._IntgrSyncRemote._OpCode")]
        public ExcelPropety OpCode_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.OpCode);
        [Display(Name = "_Model._IntgrSyncRemote._ErpOpCode")]
        public ExcelPropety ErpOpCode_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.ErpOpCode);
        [Display(Name = "_Model._IntgrSyncRemote._PassResult")]
        public ExcelPropety PassResult_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.PassResult);
        [Display(Name = "_Model._IntgrSyncRemote._Status")]
        public ExcelPropety Status_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.Status);
        [Display(Name = "_Model._IntgrSyncRemote._IsCompelted")]
        public ExcelPropety IsCompelted_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.IsCompelted);
        [Display(Name = "_Model._IntgrSyncRemote._SyncMethod")]
        public ExcelPropety SyncMethod_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.SyncMethod);
        [Display(Name = "_Model._IntgrSyncRemote._SyncCount")]
        public ExcelPropety SyncCount_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.SyncCount);
        [Display(Name = "_Model._IntgrSyncRemote._ErrMessage")]
        public ExcelPropety ErrMessage_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.ErrMessage);
        [Display(Name = "_Model._IntgrSyncRemote._CreatedTime")]
        public ExcelPropety CreatedTime_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.CreatedTime, true);
        [Display(Name = "_Model._IntgrSyncRemote._IsFirst")]
        public ExcelPropety IsFirst_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.IsFirst);
        [Display(Name = "_Model._IntgrSyncRemote._StartTime")]
        public ExcelPropety StartTime_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.StartTime, true);
        [Display(Name = "_Model._IntgrSyncRemote._EndTime")]
        public ExcelPropety EndTime_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.EndTime, true);
        [Display(Name = "_Model._IntgrSyncRemote._Remark")]
        public ExcelPropety Remark_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.Remark);
        [Display(Name = "_Model._IntgrSyncRemote._Wo")]
        public ExcelPropety Wo_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.Wo);
        [Display(Name = "_Model._IntgrSyncRemote._ProductId")]
        public ExcelPropety ProductId_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.ProductId);
        [Display(Name = "_Model._IntgrSyncRemote._ProductName")]
        public ExcelPropety ProductName_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.ProductName);
        [Display(Name = "_Model._IntgrSyncRemote._IsValid")]
        public ExcelPropety IsValid_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.IsValid);
        [Display(Name = "_Model._IntgrSyncRemote._TenantCode")]
        public ExcelPropety TenantCode_Excel = ExcelPropety.CreateProperty<IntgrSyncRemote>(x => x.TenantCode);

	    protected override void InitVM()
        {
            
        }

    }

    public class IntgrSyncRemoteImportVM : BaseImportVM<IntgrSyncRemoteTemplateVM, IntgrSyncRemote>
    {
            //import

    }

}